package com.lin.constant;

    public class BookConstants {
    public static final Integer LOGIC_DELETE_BOOK_STATUS = 0;

    public static final String BOOK_NOT_FOUND = "book_not_found";
        public static final String BOOK_ISBN_ALREADY_EXISTS = "book_isbn_already_exists";
        public static final String BOOK_FIELD_INVALID = "book_field_invalid";
        public static final String BOOK_ID_INVALID = "book_id_invalid";
        // 用于根据ID查询图书信息
        public static final String BOOK_INFO_KEY_PREFIX = "book:info:key:";
        // 用于分页查询图书信息
        public static final String BOOK_PAGE_KEY_PREFIX = "book:page:info:";
    }
